package com.kindel.util;

import java.io.Serializable;

/**
 * Created by demongao on 2017/9/4.
 */
public class Config4kindlecp implements Serializable{

    /**
     * AppID(小程序ID)
     */
    public static final String APPID = "wx73f1311e1abf56c2";
    /**
     * AppSecret(小程序密钥)
     */
    public static final String SECRET = "e26dc891890822394c07e546ee90337e";

    /**
     * code 换取 session_key API
     */
    public static final String JSCODE2SESSION_API = "https://api.weixin.qq.com/sns/jscode2session?appid=" + APPID + "&secret="
            + SECRET + "&js_code={?}&grant_type=authorization_code";

    /**
     * 获取access_token
     */
    public static final String ACCESSTOKEN_API = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" + APPID + "&secret=" + SECRET;

}
